function inicializaMapa(lat, lng, cidade, estado, album, legenda) {
	
	var map;
	var albumName = 'Meu album';
	var bounds = new GLatLngBounds();

	if (GBrowserIsCompatible()) {
		map = new GMap2(document.getElementById("mapa"));
		map.addControl(new GMapTypeControl());
		map.addControl(new GLargeMapControl());
		map.addControl(new GScaleControl());
		map.setCenter(new GLatLng(0, 0), 0);
	}

	var marker = new GMarker(new GLatLng(lat, lng));
	GEvent.addListener(marker, "click", function() {
		var myHtml = "<h3>Foto do Album: " + album + "</h3>";
		myHtml = myHtml + "Legenda: " + legenda + "<br/>";			
		myHtml = myHtml + "Cidade em que a foto foi tirada: " +cidade + ", " + estado + "<br/><br/>";
		marker.openInfoWindowHtml(myHtml);
	});

	bounds.extend(new GLatLng(lat, lng));
	map.addOverlay(marker);
	map.setZoom(map.getBoundsZoomLevel(bounds));
	map.zoomOut();
	map.zoomOut();
	map.zoomOut();
	map.zoomOut();
	map.zoomOut();
	map.zoomOut();
	map.zoomOut();
	map.zoomOut();
	map.zoomOut();		
	map.setCenter(bounds.getCenter());   
}